var fs = require('fs');
var http = require('http');
var url = require('url');

http.createServer(function(req, res) {
  // var pathname = url.parse(req.url).pathname;
  // if (pathname === '/video') {
    var rs = fs.createReadStream('D:/百度云下载/大数据课程/01_Unit_0-_Introduction/01_0-0_Preamble_3-26.mp4');
    rs.pipe(res);
  // }
  // res.end('<iframe frameborder=0 src="http://v.qq.com/iframe/player.html?vid=l01480qc099&tiny=0&auto=0" allowfullscreen></iframe>');
}).listen(3000, '192.168.191.1');

console.log('server start at http://192.168.191.1:3000');
